package com.codeoss.framework.db.table;

import java.util.List;
import java.util.Map;

import com.codeoss.framework.context.YunContext;
import com.codeoss.framework.data.metadata.Query;
import com.codeoss.framework.data.metadata.Table;
import com.codeoss.framework.data.metadata.TableData;

public interface ITableService {
	public Object insert(YunContext yunContext,Table table, Map<String, Object> dataMap);

	public int update(YunContext yunContext,Table table, Map<String, Object> dataMap,Query query);

	public int delete(YunContext yunContext,Table table, Query query);

	public TableData select(YunContext yunContext, Table table, List<String> columnList,Query query);
}
